package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2018-07-27
 */
@TableName("tb_shop")
public class Shop extends Model<Shop> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("shop_namne")
    private String shopNamne;
    private String name;
    @TableField("coop_status")
    private Integer coopStatus;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getShopNamne() {
        return shopNamne;
    }

    public void setShopNamne(String shopNamne) {
        this.shopNamne = shopNamne;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCoopStatus() {
        return coopStatus;
    }

    public void setCoopStatus(Integer coopStatus) {
        this.coopStatus = coopStatus;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Shop{" +
        "id=" + id +
        ", shopNamne=" + shopNamne +
        ", name=" + name +
        ", coopStatus=" + coopStatus +
        "}";
    }
}
